<?php
//$this->headTitle($this->title);
//$this->headTitle()->setSeparator(' - ');
$this->headTitle($this->titulo);
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');

echo $this->doctype();
?>  
<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <?php echo $this->headTitle(); ?>
        <?php echo $this->headMeta(); ?>
        
        <meta http-equiv="expires" content="Tue, 05 Jan 2020 12:12:12 GMT">
        <meta http-equiv="cache-control" content="public" /> 
        <meta http-equiv="Pragma" content="public"> 
        
        <link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->urlbase;?>/public/media/images/icon.png">
        <meta content="Vídeo-Aulas e Dicas de Matemática para Vestibular e Concursos" name="description">
        <meta content="VídeoAulas,Dicas de Matemática,Vestibular,Concursos" name="keywords">
        <?php echo $this->headLink() ?>
        <!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href="<?php echo $this->urlbase;?>/public/media/css/ie7.css">
        <![endif]-->
        <script>URLBASE = '<?php echo $this->urlbase ?>'; CONTROL = '<?php echo $this->controller; ?>';</script>
        <?php echo $this->headScript() ?>
    </head>
    <body>
        <div id="st-content">
            <header>
                <div id="st-topo">
                    <?php echo $this->partial('topo.phtml', array('urlbase' => $this->urlbase,'controller' => $this->controller,'this'=>$this,'fb_appId'=> $this->fb_appId, 'fb_appSecret' => $this->fb_appSecret)); ?>
                    <div class="bd_topo"></div>
                </div>
                
            </header>
            <section>
                <div id="st-corpo">
                    <?php echo $this->layout()->content; ?>
                </div>
                <?php if($this->submenu_page == TRUE) echo $this->partial('submenu_page.phtml', array('urlbase' => $this->urlbase,'this'=>$this)); ?>                
            </section>
            <footer>
                <div id="st-rodape">
                    <div class="bd_rodape"></div>
                    <?php echo $this->partial('rodape.phtml', array('urlbase' => $this->urlbase,'this'=>$this)); ?>                
                </div>
            </footer>    
        </div>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-12750675-17', 'neneco.com.br');
      ga('send', 'pageview');
    </script>
    </body>
</html>
